package com.ruoyi.patrol.mapper;

import java.util.List;
import com.ruoyi.patrol.domain.PtPoliceRecord;

/**
 * 报警记录Mapper接口
 *
 * @author lkm
 * @date 2024-10-30
 */
public interface PtPoliceRecordMapper
{
    /**
     * 查询报警记录
     *
     * @param id 报警记录ID
     * @return 报警记录
     */
    public PtPoliceRecord selectPtPoliceRecordById(Long id);

    /**
     * 查询报警记录列表
     *
     * @param ptPoliceRecord 报警记录
     * @return 报警记录集合
     */
    public List<PtPoliceRecord> selectPtPoliceRecordList(PtPoliceRecord ptPoliceRecord);

    /**
     * 新增报警记录
     *
     * @param ptPoliceRecord 报警记录
     * @return 结果
     */
    public int insertPtPoliceRecord(PtPoliceRecord ptPoliceRecord);

    /**
     * 修改报警记录
     *
     * @param ptPoliceRecord 报警记录
     * @return 结果
     */
    public int updatePtPoliceRecord(PtPoliceRecord ptPoliceRecord);

    /**
     * 删除报警记录
     *
     * @param id 报警记录ID
     * @return 结果
     */
    public int deletePtPoliceRecordById(Long id);

    /**
     * 批量删除报警记录
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deletePtPoliceRecordByIds(Long[] ids);

    PtPoliceRecord selectPtPoliceRecordByTaskid(String taskid);
}
